package com.example.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
//@Document(indexName = "project")//, shards = 1,replicas = 0, refreshInterval = "-1"
public class Project  implements Serializable {
    private int  id;
    private int pid;
    private int wid;
    private String projectName;
    private String lable;
    private String photoUrl;
    private String projectDoc;
    private String projectNo;
    private Integer price;
    private Date timeLimit;
    private String introduce;
    private Integer states;
    private Integer style;
    private int tid;
    private int gid;
    private  String location;
}
